﻿<Window x:Class="KelionesLapaiV2.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        
        Title="Kelionės lapai" Height="335.334" Width="747" ResizeMode="NoResize">
    
    <Grid>
        <Calendar xml:lang="lt-LT" x:Name="Calendar" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" FirstDayOfWeek="Monday" Localization.Attributes="lt-LT" SelectedDatesChanged="Calendar_SelectedDatesChanged"/>
        <CheckBox x:Name="NotWorked" Content="Nevažiuota" HorizontalAlignment="Left" Margin="54,183,0,0" VerticalAlignment="Top" Width="85" Checked="NotWorked_Checked" Unchecked="NotWorked_Unchecked"/>
        <Label Content="Pradžia:" HorizontalAlignment="Left" Margin="219,26,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.529,1.577"/>
        <Label Content="Pabaiga:" HorizontalAlignment="Left" Margin="219,52,0,0" VerticalAlignment="Top"/>
        <Label Content="Nuvažiuota:" HorizontalAlignment="Left" Margin="484,26,0,0" VerticalAlignment="Top"/>
        <Label Content="Išvažiuojant bake:" HorizontalAlignment="Left" Margin="219,136,0,0" VerticalAlignment="Top"/>
        <Label Content="Įpilta:" HorizontalAlignment="Left" Margin="219,164,0,0" VerticalAlignment="Top"/>
        <Label Content="Grįžus bake:" HorizontalAlignment="Left" Margin="219,205,0,0" VerticalAlignment="Top"/>
        <Label Content="Sunaudota:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="484,52,0,0"/>
        <TextBox x:Name="km_Start" HorizontalAlignment="Left" Height="23" Margin="333,30,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Text="0" Background="#FFF0F0F0"/>
        <TextBox x:Name="km_End" HorizontalAlignment="Left" Height="23" Margin="333,60,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Text="0" LostFocus="km_End_LostFocus" KeyUp="km_End_KeyUp"/>
        <TextBox x:Name="km_Driven" HorizontalAlignment="Left" Height="23" Margin="559,30,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Text="0" Background="#FFF0F0F0"/>
        <TextBox x:Name="lt_Start" HorizontalAlignment="Left" Height="23" Margin="333,136,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Text="0" Background="#FFF0F0F0"/>
        <TextBox x:Name="lt_Filled" HorizontalAlignment="Left" Height="23" Margin="333,164,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Text="0" LostFocus="lt_Filled_LostFocus" KeyUp="lt_Filled_KeyUp"/>
        <TextBox x:Name="lt_Used" HorizontalAlignment="Left" Height="23" Margin="559,60,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Text="0" Background="#FFF0F0F0"/>
        <TextBox x:Name="lt_End" HorizontalAlignment="Left" Height="23" Margin="333,205,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Text="0" Background="#FFF0F0F0"/>
        <Button x:Name="btnSave" Content="Išsaugoti" HorizontalAlignment="Left" Margin="368,258,0,0" VerticalAlignment="Top" Width="85" Click="btnSave_Click"/>
        <Label Content="Litrų 100km'ų:" HorizontalAlignment="Left" Margin="19,227,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="const_param1" HorizontalAlignment="Left" Height="23" Margin="109,230,0,0" TextWrapping="Wrap" Text="20" VerticalAlignment="Top" Width="39"/>
        <Label Content="Nuvažiuota šį mėnesį:" HorizontalAlignment="Left" Margin="518,148,0,0" VerticalAlignment="Top"/>
        <Label Content="Pirkta šį mėnesį:" HorizontalAlignment="Left" Margin="518,174,0,0" VerticalAlignment="Top"/>
        <Label Content="Sunaudota šį mėnesį:" HorizontalAlignment="Left" Margin="518,200,0,0" VerticalAlignment="Top"/>
        <Label x:Name="lblDrivenMonth" Content="0" HorizontalAlignment="Left" Margin="648,148,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.184,0.308" Width="59"/>
        <Label x:Name="lblFilledMonth" Content="0" HorizontalAlignment="Left" Margin="648,174,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.184,0.308" Width="59"/>
        <Label x:Name="lblUsedMonth" Content="0" HorizontalAlignment="Left" Margin="648,200,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.184,0.308" Width="59"/>
        <Button x:Name="btnRecalc" Content="Perskaičiuoti" HorizontalAlignment="Left" Margin="546,231,0,0" VerticalAlignment="Top" Width="97" Click="btnRecalc_Click"/>
        <CheckBox x:Name="cbAutoSave" Content="Auto išsaugojimas" HorizontalAlignment="Left" Margin="219,261,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.603,0.812"/>

    </Grid>
</Window>
